package com.web.config;

import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 *
 * @author Administrator
 * @date 2017/5/5
 */
@Slf4j
@Configuration
@ConfigurationProperties(prefix = "pay")
@Data
public class PayConfiguration {
    private Wx wx;
    private Ali ali;
    @Data
    public  static class Wx {
        private String appId;
        private String mchId;
        private String signKey;
        private String callback;
    }
    @Data
    public  static class Ali{
        private String appid;
        private String selfSecret;
        private String publicSecret;
        private String publicSecret2;
        private String url;
        private String callback;

    }


}
